package com.weishu.core.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 应花信息关联表
 * </p>
 *
 * @author zgx
 * @since 2021-10-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_jr_financial_yh")
public class JrFinancialYh implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 商户号
     */
    private String appId;

    /**
     * 资方ID
     */
    private Long capitalId;

    /**
     * 资方名称
     */
    private String capitalName;

    /**
     * 租客ID
     */
    private Long tenantId;

    /**
     * 租客名称
     */
    private String tenantName;

    /**
     * 公寓ID
     */
    private Long apartmentId;

    /**
     * 公寓名称
     */
    private String apartmentName;

    /**
     * 商户订单号
     */
    private String merchantOrderNo;

    /**
     * 应花订单号
     */
    private String yhOrderNo;

    /**
     * -1 待确认,0 审核中,1 :审核通过,2 :审核拒绝,3 :放款成功,5 :已还清,7 :已违约
     */
    private Integer orderStatus;

    private BigDecimal reserve1;

    private Integer reserve2;

    private String reserve3;

    private String reserve4;

    private String reserve5;

    /**
     * 0：未删除，1：删除
     */
    private Boolean delFlg;

    private Long createUserid;

    private LocalDateTime createTime;

    private Long updateUserid;

    private LocalDateTime updateTime;


}
